Drewinddir

Section: Oct. 1, 1991 (2)
Updated: MiNT Programmer's Manual
Index Return to Main Contents
 

NAME

Drewinddir - rewind an open directory  

SYNOPSIS

LONG Drewinddir( LONG handle );
 

DESCRIPTION

Drewinddir rewinds the open directory whose handle (returned from the Dopendir system call) is handle. After the Drewinddir call, the next call to Dreaddir will read the first file in the directory.  

RETURNS

0 on success.

EIHNDL if handle does not refer to a valid open directory

EINVFN if the directory cannot be rewound (for example, because of the type of file system on which it is located)  

SEE ALSO

Dopendir(2), Dreaddir(2),


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 11:14:26 GMT, June 22, 2025